Plays back a beep to the user.
Beep ( [ Frequency [, Duration ]] )
Parameters
Frequency | [optional] The frequency of the beep in hertz. Can be anywhere from 37 through 32,767 (0x25 through 0x7FFF). Default is 500 Hz. |
Duration | [optional] The length of the beep in milliseconds. Default = 1000 ms. |
Return Value
Always returns 1 regardless of success.
Remarks
None.
Related
SoundPlay
Example
; plays back a beep noise, at the frequency 500 for 1 second
Beep(500, 1000)